package com.tms.operation.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 签收单对象 tms_receipt
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
public class TmsReceipt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNumber;

    /** 客户 */
    @Excel(name = "客户")
    private String customer;

    /** 始发地 */
    @Excel(name = "始发地")
    private String departureLocation;

    /** 目的地 */
    @Excel(name = "目的地")
    private String destination;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 发货地址 */
    @Excel(name = "发货地址")
    private String shippingAddress;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String receivingAddress;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private Long orderQuantity;

    /** 签收数量 */
    @Excel(name = "签收数量")
    private Long signedQuantity;

    /** 签收人 */
    @Excel(name = "签收人")
    private String signedBy;

    /** 签收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setCustomer(String customer) 
    {
        this.customer = customer;
    }

    public String getCustomer() 
    {
        return customer;
    }
    public void setDepartureLocation(String departureLocation) 
    {
        this.departureLocation = departureLocation;
    }

    public String getDepartureLocation() 
    {
        return departureLocation;
    }
    public void setDestination(String destination) 
    {
        this.destination = destination;
    }

    public String getDestination() 
    {
        return destination;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setShippingAddress(String shippingAddress) 
    {
        this.shippingAddress = shippingAddress;
    }

    public String getShippingAddress() 
    {
        return shippingAddress;
    }
    public void setReceivingAddress(String receivingAddress) 
    {
        this.receivingAddress = receivingAddress;
    }

    public String getReceivingAddress() 
    {
        return receivingAddress;
    }
    public void setOrderQuantity(Long orderQuantity) 
    {
        this.orderQuantity = orderQuantity;
    }

    public Long getOrderQuantity() 
    {
        return orderQuantity;
    }
    public void setSignedQuantity(Long signedQuantity) 
    {
        this.signedQuantity = signedQuantity;
    }

    public Long getSignedQuantity() 
    {
        return signedQuantity;
    }
    public void setSignedBy(String signedBy) 
    {
        this.signedBy = signedBy;
    }

    public String getSignedBy() 
    {
        return signedBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("customer", getCustomer())
            .append("departureLocation", getDepartureLocation())
            .append("destination", getDestination())
            .append("orderStatus", getOrderStatus())
            .append("shippingAddress", getShippingAddress())
            .append("receivingAddress", getReceivingAddress())
            .append("orderQuantity", getOrderQuantity())
            .append("signedQuantity", getSignedQuantity())
            .append("signedBy", getSignedBy())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
